package com.xx.job.service.system.impl;

import com.xx.job.entity.base.BaseEntity;
import com.xx.job.entity.system.SysSetting;
import com.xx.job.mapper.SysSettingMapper;
import com.xx.job.service.system.SysSettingService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liangcy
 * @since 2021-01-14
 */
@Service
public class SysSettingServiceImpl extends ServiceImpl<SysSettingMapper, SysSetting> implements SysSettingService {


    @Autowired
    private SysSettingMapper sysSettingMapper;

    public SysSetting setting(){
        return sysSettingMapper.selectById(1);
    }
}
